import request from "@/utils/request";
export const service = () => {
  return !!JSON.parse(localStorage.$loginInfo).tenantId ? "/event" : "/ttevent";
};
/**
 * 提交督办
 */
export function urgeToHandleAlarmOrder(data) {
  return request({
    url: "/event/alarm/order/urgeToHandleAlarmOrder",
    method: "post",
    data: data,
  });
}
/**
 * 督办记录
 */
export function getHandleRecordByOrderId(data) {
  return request({
    url: service() + "/alarm/order/getHandleRecordByOrderId",
    method: "post",
    data: data,
  });
}
